package com.liuugoqing.structural.proxy.cglib_proxy;

import org.junit.Test;

/**
 * @Author : liugq
 * @Date : 2022/7/4 0:08
 * @See : 参考类
 * @Since： JDK1.8
 * @Version : 1.0
 */
public class CglibTest {
    @Test
    public void test() throws Exception{
        TrainStation proxyInstance = CglibProxyFactory.getProxyInstance(new TrainStation());
        proxyInstance.sell();
    }
}
